/**
 * Created by XianTao on 2015/8/19
 * <p/>
 * Copyright (c) 2015-2015
 * Apache License
 * Version 2.0, January 2004
 * http://www.apache.org/licenses/
 */
package org.lego.wechat.base.msg.in.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class InMenuEvent extends EventInMsg {
    // 1. 点击菜单拉取消息时的事件推送： click
    public static final String EVENT_INMENU_CLICK = "click";
    // 2. 点击菜单跳转链接时的事件推送： view
    public static final String EVENT_INMENU_VIEW = "view";
    // 3. 点击菜单发送图片时的事件推送： pic_photo_or_album
    public static final String EVENT_INMENU_PIC_PHOTO_OR_ALBUM = "pic_photo_or_album";
    // 4. 点击菜单相册发图
    public static final String EVENT_INMENU_PIC_WEIXIN = "pic_weixin";
    // 5. 点击菜单拍照发图
    public static final String EVENT_INMENU_PIC_SYSPHOTO = "pic_sysphoto";
    // 5. 点击菜单发送位置
    public static final String EVENT_INMENU_LOCATION_SELECT = "location_select";

    private String eventKey;

    public InMenuEvent(String toUserName, String fromUserName, Integer createTime, String msgType, String event,
                       Integer agentId, Long msgId) {
        super(toUserName, fromUserName, createTime, msgType, event, agentId, msgId);
    }
}
